// start time measurement
console.time('alpha');

var output = 1;
for (var i = 1; i <=10; i++) {
  output *= i;
}
console.log('Result: ', output);

// end time measurement
console.timeEnd('alpha');